//
//  DepTableViewCell.m
//  HarmonizePub
//
//  Created by rzhy on 2017/1/22.
//  Copyright © 2017年 Zy. All rights reserved.
//

#import "DepTableViewCell.h"
#import "Physical.h"

@interface DepTableViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *ksmcLabel;
@property (weak, nonatomic) IBOutlet UILabel *ksxjLabel;

@end

@implementation DepTableViewCell

+ (NSString *)registerName {
    return @"DepTableViewCell";
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setCellShowDataWithPhysical:(Physical *)physical {
//    NSLog(@"physical: %@", physical);
    self.ksmcLabel.text = physical.ksmc;
    self.ksxjLabel.text = physical.ksxj;
}

@end
